package jp.sourceforge.talisman.csvio.translator;

/*
 * $Id: Unchange.java,v 1.1 2009/09/12 05:06:21 weiwei Exp $
 */

import jp.sourceforge.talisman.csvio.CsvLine;

/**
 * 
 * @author Haruaki Tamada
 * @version $Revision: 1.1 $ $Date: 2009/09/12 05:06:21 $
 */
public class Unchange implements Translator{

    public CsvLine[] translate(CsvLine[] file){
        CsvLine[] lines = new CsvLine[file.length];

        for(int i = 0; i < file.length; i++){
            lines[i] = new CsvLine();
            for(int j = 0; j < file[i].size(); j++){
                lines[i].addValue(file[i].getValue(i));
            }
        }

        return lines;
    }

}
